﻿#region Imports
using System;
using System.Windows.Forms;
using CommonUtilities.Messages;
using Microsoft.VisualStudio.TestTools.UnitTesting;
#endregion

namespace CommonUtilities.UnitTest.UTMessages
{
    [TestClass]
    public class MessageBoxUtil_Test
    {
        #region Test methods
        public void Show_Test()
        {
            try
            {
                throw new Exception("test error");
            }
            catch (Exception ex)
            {
                MessageBoxUtil.Show(false, "test text", "test caption", MessageBoxButtons.OKCancel, MessageBoxIcon.Hand);
                MessageBoxUtil.Show(true, "test text", "test caption", MessageBoxButtons.OKCancel, MessageBoxIcon.Hand);
            }
        }
        #endregion
    }
}
